package java_test.exception;

public class ThreadDemo {
    public static void main(String[] args) {
        MyThread t = new MyThread();
        t.start();
        try {
            Thread.sleep(1000);
        } catch (Exception x) {
            System.out.println(x);
        }
        System.out.println("Exiting main");
    }
}
